package basics.exceptions;
import java.util.Scanner;
public class DivisionMistakeCaught
{
   public static void main(String[] args)
   {
        
       int a;
       int b=100;
       int c=0;
       
       try
       {
          a = b / c;
       }
       catch(ArithmeticException mistake)  
       {
           System.out.println(mistake);
       }
       
       //The program continues after the exception
       System.out.println("The programm continues.");
    
       return;
   }
}
